        <link rel="stylesheet" type="text/css" href="<?php echo base_url()?>/public/assets/css/mybag.css">
        <!--顶部-->
        <div class="weui_navbar">
            <article class="weui_article">
                <h1>您正在预约：<?php echo $course_package_info['title']?></h1>
                <p><em>1.确认信息></em>2.预约下单>3.预约完成</p>
            </article>
        </div>
		<form id="myform" name='myform' action="/purchasecourse" method="post">
		<input type="hidden" value="<?php echo $course_package_info['order_id']?>" name="order_id" />
		<input type="hidden" value="1" name="from_add" />      
        <div class="weui_cells weui_cells_form">
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">上课地址</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="text" name="address" placeholder="请输入上课地址" value="<?php echo $member_info['address']?>"/>
                </div>
            </div>
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">联系人</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input type="text" name="linkman" class="weui_input" value="<?php echo $member_info['linkman']?>" placeholder="请输入联系人"/>
                </div>
            </div>
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">联系电话</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="number" pattern="[0-9]*" name="link_mobile"  placeholder="请输入联系电话" value="<?php echo $member_info['link_mobile']?>"/>
                </div>
            </div>
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">宝宝姓名</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="text" name="baby_name" placeholder="请输入宝宝姓名" value="<?php echo $member_info['baby_name']?>"/>
                </div>
            </div>
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">宝宝性别</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <span style="display: block;float: right;padding-top:5%;padding-left: 4%"><i class="fa fa-caret-right"></i></span>
                    <select name = 'baby_sex' class="weui_select" style="width: 14%;float: right;">
                        <option value = '1' <?php if($member_info['baby_sex'] == 1)echo 'selected="selected"'?> >男</option>
                        <option value = '0' <?php if($member_info['baby_sex'] == 0)echo 'selected="selected"'?>>女</option>
                    </select>
                </div>
            </div>
            <div class="weui_cell">
                <div class="weui_cell_hd"><label class="weui_label">宝宝生日</label></div>
                <div class="weui_cell_bd weui_cell_primary">
                    <input class="weui_input" type="date" name="baby_birthday" placeholder="请输入宝宝生日" value="<?php echo $member_info['baby_birthday']?>"/>
                </div>
            </div>
        </div>
        
        <div class="weui_btn_area">
            <a href="javascript:history.go(-1);" class="weui_btn weui_btn_mini weui_btn_default">返回</a>
            <a href="javascript:validate();" class="weui_btn weui_btn_mini weui_btn_primary" >下一步</a>
        </div>
</form>
        

    </body>
<script type="text/javascript">
function validate(){
  document.getElementById('myform').submit();
}
</script>
